package com.doge.service.admin.promotion;

import com.doge.bean.base.BaseData;
import com.doge.bean.base.BaseParam;
import com.doge.bean.pojo.topic.Topic;
import com.doge.bean.vo.topic.TopicReadVO;

import java.util.List;

/**
 * promotion是推广模块
 * TopicService是专题管理
 * Created By ntian
 */
public interface TopicService {

    BaseData listTopic(BaseParam baseParam, String title, String subtitle);

    Topic createTopic(Topic topic);

    Topic updateTopic(Topic topic);

    TopicReadVO readTopic(Integer id);

    int deleteTopic(Topic topic) throws Exception;

    int batchDelete(List<Integer> ids) throws Exception;
}
